<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <link rel="icon" href="/favicon.ico">
  <% if(ENV==='android' ){%>
    <meta http-equiv="Content-Security-Policy"
      content="default-src 'self' data: https://ssl.gstatic.com 'unsafe-eval'; style-src 'self' 'unsafe-inline'; media-src *; img-src 'self' data: content:;">
    <meta name="format-detection" content="telephone=no">
    <meta name="msapplication-tap-highlight" content="no">
    <meta name="viewport" content="initial-scale=1, width=device-width, viewport-fit=cover">
    <% }else{ %>
      <meta name="viewport"
        content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, viewport-fit=cover" />
      <% } %>
        <!-- 开启顶部安全区适配 -->
        <van-nav-bar safe-area-inset-top />
        <!-- 开启底部安全区适配 -->
        <van-number-keyboard safe-area-inset-bottom />
        <meta name="color-scheme" content="light dark">
        <title>Vite App</title>
</head>

<body>
  <div id="app"></div>
  <% if(ENV==='android' ) {%>
    <script src="cordova.js">
    </script>
    <% } %>
      <script type="module" src="/src/main.js"></script>
</body>

</html>